package com.yin.controller;


import com.yin.service.Record_salaryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 尹kk
 * @since 2021-05-24
 */
@RestController
@RequestMapping
public class Record_salaryController {

    @Autowired
    private  Record_salaryService record_salaryService;
    @GetMapping("/Record")
    public List Record_salaryController(){
        return this.record_salaryService.list();
    }


}
